#if !defined(AFX_ENGINESELECTDIALOG_H__C5A621E2_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_)
#define AFX_ENGINESELECTDIALOG_H__C5A621E2_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EngineSelectDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CEngineSelectDialog dialog

#include <string>
#include "DialogListener.h"

class CEngineSelectDialog : public CDialog
{
// Construction
public:
	CEngineSelectDialog(CDialogListener & l,CWnd* pParent = NULL);
	unsigned getSelected();
	void addString(std::string s);
	virtual void OnOK(){listener.finished(0);}
	virtual void OnCancel(){listener.finished(0);}

// Dialog Data
	//{{AFX_DATA(CEngineSelectDialog)
	enum { IDD = IDD_ENGINE_SELECT };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEngineSelectDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CEngineSelectDialog)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	CDialogListener & listener;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ENGINESELECTDIALOG_H__C5A621E2_E1BF_11D5_94D2_0050BF3463C5__INCLUDED_)
